{$CLEO .cs}


0000: NOP


:cheated
wait 0
if 
0ADC:   test_cheat "hardmode"

jf @cheated
0ACD: show_text_highpriority "~r~Hard Mode~w~ Activated" time 3000
wait 500

:ped_hard_mode
04C4: store_coords_to 20@ 21@ 22@ from_actor $player_actor with_offset 0.0 0.0 0.0
0AE1: 0@ = random_actor_near_point 20@ 21@ 22@ in_radius 300.0 find_next 1 pass_deads 1

:define

wait 0
if 
056D:   actor 0@ defined

jf @disable
089F: get_actor 0@ pedtype_to 28@
wait 0
if or
28@ == 24
28@ == 25
28@ == 26
28@ == 27
28@ == 28
28@ == 29
28@ == 30
28@ == 31
jf @disable
if 
056D:   actor 0@ defined
jf @disable

02E2: set_actor 0@ weapon_accuracy_to 85
07DD: set_actor 0@ attack_rate 97 // previously known as temper_to
0946: set_actor 0@ actions_uninterupted_by_weapon_fire 1
03FE: set_actor 0@ money 5000
081A: set_actor 0@ weapon_skill_to 2
07FE: set_actor 0@ fighting_style_to 7 moves 6


:disable
if
0ADC:   test_cheat "hardmode"
jf @ped_hard_mode
0ACD: show_text_highpriority "~r~Hard Mode~w~ Disactivated" time 3000
wait 500
jump @cheated
